package com.api.server.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "普通用户对象",description = "")
public class Puser implements Serializable {



    @ApiModelProperty(value = "身份证号",required = true)
    private String userid;

    @ApiModelProperty(value = "账号",required = true)
    private String useraccount;

    @ApiModelProperty(value = "名字",required = true)
    private String username;

    @ApiModelProperty(value = "联系电话",required = true)
    private String usernumber;

    @ApiModelProperty(value = "钱包",required = true)
    private Float userwallet;

    @ApiModelProperty(value = "个性签名")
    private String usersignature;

    @ApiModelProperty(value = "密码",required = true)
    private String userpassword;

    @ApiModelProperty(value = "失败订单编号")
    private String pendingorders;

    @ApiModelProperty(value = "已完成订单编号")
    private String completedorder;

    @ApiModelProperty(value = "权限等级",required = true)
    private String usergrade;

    @ApiModelProperty(value = "状态",required = true)
    private String state;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String controllerdepartment;

    private String controllerunit;

    private String controllerunitnumber;

    private String controllerposition;

    private String controllerpendingorders;

    private String controllerordersprocessed;
}
